package com.epmxx.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 酒店房间实体类
 * @TableName room
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "hotel.room")
public class Room implements Serializable {
    /**
     * 房间ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房间类型  1:标准间 2:豪华间  3:总统套间
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 价格
     */
    @TableField(value = "price")
    private Integer price;

    /**
     * 描述
     */
    @TableField(value = "info")
    private String info;

    /**
     * 酒店编号
     */
    @TableField(value = "hotelId")
    private Integer hotelid;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_TYPE = "type";

    public static final String COL_PRICE = "price";

    public static final String COL_INFO = "info";

    public static final String COL_HOTELID = "hotelId";

}